package day04;
/*
    求5的阶乘
 */
public class ForDemo4 {
    public static void main(String[] args) {

        int sum = 1;

        for(int i=1;i<=5;i++){
            sum *= i;
        }
        System.out.println(sum);
    }
}
